package net.zjitc.service;

import net.zjitc.domain.User;

import java.util.List;

public interface UserService {
    List<User> findAll();
    User findByUsernameAndPassword(String username, String password);
    int add(User user);
    int update(User user);
    int delete(int id);
    User findById(String id);

}
